package com.example.demo.web.rest.vm;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2019/3/24  16:19
 */
@ApiModel("操作日志")
@Alias("OperateLogVm")
public class OperateLogVm implements Serializable {
    private static final long serialVersionUID = -4267351852065629566L;
    @ApiModelProperty("操作日志ID")
    private Long id;
    @ApiModelProperty("模快类型")
    private String moduleType;
    @ApiModelProperty("操作动作")
    private String operateAction;
    @ApiModelProperty("操作动作说明")
    private String operateActionDesc;
    @ApiModelProperty("操作内容")
    private String operateComment;
    @ApiModelProperty("操作结果状态 Y/N")
    private String operateResult;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("操作人")
    private String createUserName;
    @ApiModelProperty("操作时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String createTime;
    @ApiModelProperty("修改人")
    private String updateUserName;
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String updateTime;
    @ApiModelProperty("操作对象类型")
    private String operateObjType;
    @ApiModelProperty("操作对象类型")
    private String ipAddress;
    @ApiModelProperty("用户名")
    private String alias;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("用户类型")
    private Integer userType;
    @ApiModelProperty("用户类型说明")
    private String userTypeDesc;
    @ApiModelProperty("单位")
    private String company;
    @ApiModelProperty("单位说明")
    private String companyDesc;
    @ApiModelProperty("全量区域")
    private String fullRegionName;
    @ApiModelProperty("区域")
    private String regionName;
    @ApiModelProperty("菜单名称")
    private String nameEn;
    @ApiModelProperty("菜单英文名称")
    private String nameCn;
    @ApiModelProperty("菜单权限码")
    private String permissionCode;
    @ApiModelProperty("菜单类型")
    private String menuType;

    @Override
    public String toString() {
        return "OperateLogVm{" +
                "id=" + id +
                ", moduleType='" + moduleType + '\'' +
                ", operateAction='" + operateAction + '\'' +
                ", operateActionDesc='" + operateActionDesc + '\'' +
                ", operateComment='" + operateComment + '\'' +
                ", operateResult='" + operateResult + '\'' +
                ", remark='" + remark + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", createTime=" + createTime +
                ", updateUserName='" + updateUserName + '\'' +
                ", updateTime=" + updateTime +
                ", operateObjType='" + operateObjType + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", alias='" + alias + '\'' +
                ", loginName='" + loginName + '\'' +
                ", userType=" + userType +
                ", userTypeDesc=" + userTypeDesc +
                ", company='" + company + '\'' +
                ", companyDesc='" + companyDesc + '\'' +
                ", fullRegionName='" + fullRegionName + '\'' +
                ", regionName='" + regionName + '\'' +
                ", nameEn='" + nameEn + '\'' +
                ", nameCn='" + nameCn + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", menuType='" + menuType + '\'' +
                '}';
    }

    public String getOperateActionDesc() {
        return operateActionDesc;
    }

    public void setOperateActionDesc(String operateActionDesc) {
        this.operateActionDesc = operateActionDesc;
    }

    public String getUserTypeDesc() {
        return userTypeDesc;
    }

    public void setUserTypeDesc(String userTypeDesc) {
        this.userTypeDesc = userTypeDesc;
    }

    public String getCompanyDesc() {
        return companyDesc;
    }

    public void setCompanyDesc(String companyDesc) {
        this.companyDesc = companyDesc;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getFullRegionName() {
        return fullRegionName;
    }

    public void setFullRegionName(String fullRegionName) {
        this.fullRegionName = fullRegionName;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public String getOperateAction() {
        return operateAction;
    }

    public void setOperateAction(String operateAction) {
        this.operateAction = operateAction;
    }

    public String getOperateComment() {
        return operateComment;
    }

    public void setOperateComment(String operateComment) {
        this.operateComment = operateComment;
    }

    public String getOperateResult() {
        return operateResult;
    }

    public void setOperateResult(String operateResult) {
        this.operateResult = operateResult;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperateObjType() {
        return operateObjType;
    }

    public void setOperateObjType(String operateObjType) {
        this.operateObjType = operateObjType;
    }
}
